home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / ATL_Samples / polycntr / polyctl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.7 KB  |  55 lines

  1. #if !defined(AFX_POLYCTL_H__AF149361_39BE_11D1_9304_00600820B4FF__INCLUDED_)
  2. #define AFX_POLYCTL_H__AF149361_39BE_11D1_9304_00600820B4FF__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  8.  
  9. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  10. //  Microsoft Visual C++, your modifications will be overwritten.
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CPolyCtl wrapper class
  14.  
  15. class CPolyCtl : public CWnd
  16. {
  17. protected:
  18.     DECLARE_DYNCREATE(CPolyCtl)
  19. public:
  20.     CLSID const& GetClsid()
  21.     {
  22.         static CLSID const clsid
  23.         = { 0x4CBBC676, 0x507F, 0x11D0, { 0xB9, 0x8B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } };
  24.         return clsid;
  25.     }
  26.     virtual BOOL Create(LPCTSTR lpszClassName,
  27.         LPCTSTR lpszWindowName, DWORD dwStyle,
  28.         const RECT& rect,
  29.         CWnd* pParentWnd, UINT nID,
  30.         CCreateContext* pContext = NULL)
  31.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  32.  
  33.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  34.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  35.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  36.         BSTR bstrLicKey = NULL)
  37.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  38.         pPersist, bStorage, bstrLicKey); }
  39.  
  40. // Attributes
  41. public:
  42.  
  43. // Operations
  44. public:
  45.     void SetFillColor(unsigned long newValue);
  46.     unsigned long GetFillColor();
  47.     short GetSides();
  48.     void SetSides(short nNewValue);
  49. };
  50.  
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53.  
  54. #endif // !defined(AFX_POLYCTL_H__AF149361_39BE_11D1_9304_00600820B4FF__INCLUDED_)
  55.